import React from 'react';
import { UserAuth } from '../../utils/hooks';
import NotAuth from '../../components/NotAuth';
import InDataCom from '../../components/InDataCom';

export default () => {
  const { authority } = UserAuth('Delete');
  return <>{authority ? <InDataCom type={3} /> : <NotAuth />}</>;
};
